home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / p4 / p4-1_2a.lha / p4-1.2a / lib / p4_sys.h < prev    next >
C/C++ Source or Header  |  1992-10-19  |  1KB  |  53 lines

  1. #ifdef P4BSD
  2. #include <strings.h>
  3. #endif
  4. #ifdef P4SYSV
  5. #include <string.h>
  6. #endif
  7.  
  8. #include "p4_patchlevel.h"
  9. #include "p4_sock_util.h"    
  10.  
  11. #ifndef TRUE
  12. #define TRUE  1
  13. #define FALSE 0
  14. #endif
  15.  
  16. extern int errno;
  17. extern char *sys_errlist[];
  18.  
  19. #define PRECV_EOF -1
  20.  
  21. #define LISTENER_ATTN_SIGNAL SIGUSR1
  22.  
  23. #define LISTENER_ID (-99)
  24.  
  25. #include "p4_sys_funcs.h"
  26.  
  27. #include "p4_defs.h"
  28. #include "p4_macros.h"
  29.  
  30. #include "p4_globals.h"
  31.  
  32.  
  33. #define BEGIN_USER      101
  34. #define END_USER        102
  35. #define BEGIN_SEND      103
  36. #define END_SEND        104
  37. #define BEGIN_RECV      105
  38. #define END_RECV        106
  39. #define BEGIN_WAIT      107
  40. #define END_WAIT        108
  41.  
  42. #define UPDATE_NUM_SUBPROBS     200
  43. #define REQUEST_MONITOR_ENTRY   201
  44. #define ENTER_MONITOR           202
  45. #define EXIT_MONITOR            203
  46. #define OPEN_DOOR               204
  47. #define ENTER_DELAY_QUEUE       205
  48. #define EXIT_DELAY_QUEUE        206
  49. #define SECRET_EXIT_MONITOR     207
  50. #define PBDONE                  208
  51. #define PGDONE                  209
  52.  
  53.